package com.hertz.iris;

public class MyHttpException extends RuntimeException {

	/**
	 * 
	 */
	private static final long serialVersionUID = -5242994934210779549L;
	private int code;
	
	public MyHttpException (int httpCode){
		super("http error ,code:" + httpCode);
		this.code = httpCode;
	}
	
	public int getCode(){
		return code;
	}
	
}
